package com.serialize.domain;

import java.io.Serializable;

/**
 * Created by buguniao on 15/12/14.
 */
public class Student implements Serializable{
    private String name;
    private int year;

    public Student(String name, int year) {
        this.name = name;
        this.year = year;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }
}
